<?php

namespace App\RpcProvider;

use Hyperf\RpcServer\Annotation\RpcService;
use function Hyperf\Support\env;

define('RpcServiceNameHttp', 'yaoli-service-http-'.env('APP_NAME', 'appname'));  

#[RpcService(name: RpcServiceNameHttp, protocol: 'jsonrpc-http', server: "http",publishTo: "nacos")]

/**
 * 注册HTTP服务到配置中心
 */
class HttpService
{
    /**
     * 注册http服务 不要动这个文件
     * @return void
     */
    public function index(): void
    {
    }
}
